<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SARibbon: SARibbonPannel类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="SA-logo.png"/></td>
  <td id="projectalign">
   <div id="projectname">SARibbon<span id="projectnumber">&#160;2.4.2</span>
   </div>
   <div id="projectbrief">SARibbon wiki</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('class_s_a_ribbon_pannel.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-types">Public 类型</a> &#124;
<a href="#signals">信号</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#properties">属性</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_s_a_ribbon_pannel-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">SARibbonPannel类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>pannel页窗口，pannel是ribbon的面板用于承放控件  
 <a href="#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_s_a_ribbon_pannel_8h_source.html">SARibbonPannel.h</a>&gt;</code></p>
<div class="dynheader">
类 SARibbonPannel 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_s_a_ribbon_pannel.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_a_ribbon_pannel_1_1_private_data.html">PrivateData</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a9da35ca039ab4045209d5614e4566219" id="r_a9da35ca039ab4045209d5614e4566219"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9da35ca039ab4045209d5614e4566219">PannelLayoutMode</a> { <a class="el" href="#a9da35ca039ab4045209d5614e4566219ac4aec84893752a28762a45d151fc68db">ThreeRowMode</a>
, <a class="el" href="#a9da35ca039ab4045209d5614e4566219a905275b34d8ceb68cdbddb2f83723854">TwoRowMode</a>
 }</td></tr>
<tr class="separator:a9da35ca039ab4045209d5614e4566219"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9910be8cb8aef0f150f8079c0bac310" id="r_ac9910be8cb8aef0f150f8079c0bac310"><td class="memItemLeft" align="right" valign="top"><a id="ac9910be8cb8aef0f150f8079c0bac310" name="ac9910be8cb8aef0f150f8079c0bac310"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>FpRibbonToolButtonIterate</b> = std::function&lt; bool(<a class="el" href="class_s_a_ribbon_tool_button.html">SARibbonToolButton</a>*) &gt;</td></tr>
<tr class="separator:ac9910be8cb8aef0f150f8079c0bac310"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="signals" name="signals"></a>
信号</h2></td></tr>
<tr class="memitem:ab333a3cafcae36c6ba6fe66871e2e652" id="r_ab333a3cafcae36c6ba6fe66871e2e652"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab333a3cafcae36c6ba6fe66871e2e652">actionTriggered</a> (QAction *action)</td></tr>
<tr class="memdesc:ab333a3cafcae36c6ba6fe66871e2e652"><td class="mdescLeft">&#160;</td><td class="mdescRight">等同于QToolBar::actionTriggered  <br /></td></tr>
<tr class="separator:ab333a3cafcae36c6ba6fe66871e2e652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a649d1ee1cd8a6ab9ae70c559a6f6e571" id="r_a649d1ee1cd8a6ab9ae70c559a6f6e571"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a649d1ee1cd8a6ab9ae70c559a6f6e571">pannelNameChanged</a> (const QString &amp;n)</td></tr>
<tr class="memdesc:a649d1ee1cd8a6ab9ae70c559a6f6e571"><td class="mdescLeft">&#160;</td><td class="mdescRight">pannel的标题发生了改变  <br /></td></tr>
<tr class="separator:a649d1ee1cd8a6ab9ae70c559a6f6e571"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a4ecd4927febd02423c2bbeba7d6b53e5" id="r_a4ecd4927febd02423c2bbeba7d6b53e5"><td class="memItemLeft" align="right" valign="top"><a id="a4ecd4927febd02423c2bbeba7d6b53e5" name="a4ecd4927febd02423c2bbeba7d6b53e5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SARibbonPannel</b> (QWidget *parent=nullptr)</td></tr>
<tr class="separator:a4ecd4927febd02423c2bbeba7d6b53e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08caf47895f521648c978aad8837df67" id="r_a08caf47895f521648c978aad8837df67"><td class="memItemLeft" align="right" valign="top"><a id="a08caf47895f521648c978aad8837df67" name="a08caf47895f521648c978aad8837df67"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>SARibbonPannel</b> (const QString &amp;name, QWidget *parent=nullptr)</td></tr>
<tr class="separator:a08caf47895f521648c978aad8837df67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9843072b680fbb1d70efcef3aa23dc4" id="r_ac9843072b680fbb1d70efcef3aa23dc4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac9843072b680fbb1d70efcef3aa23dc4">addAction</a> (QAction *action, <a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a> rp)</td></tr>
<tr class="memdesc:ac9843072b680fbb1d70efcef3aa23dc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加action  <br /></td></tr>
<tr class="separator:ac9843072b680fbb1d70efcef3aa23dc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac33b37aa9d9719df9b470345a9602deb" id="r_ac33b37aa9d9719df9b470345a9602deb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac33b37aa9d9719df9b470345a9602deb">addAction</a> (QAction *act, QToolButton::ToolButtonPopupMode popMode, <a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a> rp=<a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926a51c698e60b498f57ac2620a2560066db">SARibbonPannelItem::Large</a>)</td></tr>
<tr class="memdesc:ac33b37aa9d9719df9b470345a9602deb"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加一个action  <br /></td></tr>
<tr class="separator:ac33b37aa9d9719df9b470345a9602deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea8d760554e388afd905ea7c56c44430" id="r_aea8d760554e388afd905ea7c56c44430"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aea8d760554e388afd905ea7c56c44430">addLargeAction</a> (QAction *action)</td></tr>
<tr class="memdesc:aea8d760554e388afd905ea7c56c44430"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加大图标  <br /></td></tr>
<tr class="separator:aea8d760554e388afd905ea7c56c44430"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f5133bdcd6c8aa2bff0615246edcaf2" id="r_a3f5133bdcd6c8aa2bff0615246edcaf2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3f5133bdcd6c8aa2bff0615246edcaf2">addMediumAction</a> (QAction *action)</td></tr>
<tr class="memdesc:a3f5133bdcd6c8aa2bff0615246edcaf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">在三栏模式下，强制加为2栏action  <br /></td></tr>
<tr class="separator:a3f5133bdcd6c8aa2bff0615246edcaf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a009dfafbf68c8cb7bc0e0357af94997d" id="r_a009dfafbf68c8cb7bc0e0357af94997d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a009dfafbf68c8cb7bc0e0357af94997d">addSmallAction</a> (QAction *action)</td></tr>
<tr class="memdesc:a009dfafbf68c8cb7bc0e0357af94997d"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加小图标  <br /></td></tr>
<tr class="separator:a009dfafbf68c8cb7bc0e0357af94997d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bb0d86bda87a201b94914bae38c9e2a" id="r_a1bb0d86bda87a201b94914bae38c9e2a"><td class="memItemLeft" align="right" valign="top"><a id="a1bb0d86bda87a201b94914bae38c9e2a" name="a1bb0d86bda87a201b94914bae38c9e2a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addSmallAction</b> (QAction *action, QToolButton::ToolButtonPopupMode popMode)</td></tr>
<tr class="separator:a1bb0d86bda87a201b94914bae38c9e2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad71284a1ae42320a1622f1907534951" id="r_aad71284a1ae42320a1622f1907534951"><td class="memItemLeft" align="right" valign="top"><a id="aad71284a1ae42320a1622f1907534951" name="aad71284a1ae42320a1622f1907534951"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addLargeAction</b> (QAction *action, QToolButton::ToolButtonPopupMode popMode)</td></tr>
<tr class="separator:aad71284a1ae42320a1622f1907534951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a625d22c548d8536703c5d2a03426a82f" id="r_a625d22c548d8536703c5d2a03426a82f"><td class="memItemLeft" align="right" valign="top"><a id="a625d22c548d8536703c5d2a03426a82f" name="a625d22c548d8536703c5d2a03426a82f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addMediumAction</b> (QAction *action, QToolButton::ToolButtonPopupMode popMode)</td></tr>
<tr class="separator:a625d22c548d8536703c5d2a03426a82f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aaab3c49386dccd8ab93a155734fab9" id="r_a3aaab3c49386dccd8ab93a155734fab9"><td class="memItemLeft" align="right" valign="top">QAction *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3aaab3c49386dccd8ab93a155734fab9">addAction</a> (const QString &amp;text, const QIcon &amp;icon, QToolButton::ToolButtonPopupMode popMode, <a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a> rp=<a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926a51c698e60b498f57ac2620a2560066db">SARibbonPannelItem::Large</a>)</td></tr>
<tr class="memdesc:a3aaab3c49386dccd8ab93a155734fab9"><td class="mdescLeft">&#160;</td><td class="mdescRight">生成并添加一个action  <br /></td></tr>
<tr class="separator:a3aaab3c49386dccd8ab93a155734fab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c8f61c84237ae1ce5aa09f8e44076e9" id="r_a4c8f61c84237ae1ce5aa09f8e44076e9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4c8f61c84237ae1ce5aa09f8e44076e9">addMenu</a> (QMenu *menu, <a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a> rp, QToolButton::ToolButtonPopupMode popMode=QToolButton::InstantPopup)</td></tr>
<tr class="memdesc:a4c8f61c84237ae1ce5aa09f8e44076e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加一个普通菜单  <br /></td></tr>
<tr class="separator:a4c8f61c84237ae1ce5aa09f8e44076e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac067a6ea4e176a095fe5f50c2dc0dd19" id="r_ac067a6ea4e176a095fe5f50c2dc0dd19"><td class="memItemLeft" align="right" valign="top"><a id="ac067a6ea4e176a095fe5f50c2dc0dd19" name="ac067a6ea4e176a095fe5f50c2dc0dd19"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addLargeMenu</b> (QMenu *menu, QToolButton::ToolButtonPopupMode popMode=QToolButton::InstantPopup)</td></tr>
<tr class="separator:ac067a6ea4e176a095fe5f50c2dc0dd19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acad313e48d8fbaeca73fb7e5adc7856b" id="r_acad313e48d8fbaeca73fb7e5adc7856b"><td class="memItemLeft" align="right" valign="top"><a id="acad313e48d8fbaeca73fb7e5adc7856b" name="acad313e48d8fbaeca73fb7e5adc7856b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addSmallMenu</b> (QMenu *menu, QToolButton::ToolButtonPopupMode popMode=QToolButton::InstantPopup)</td></tr>
<tr class="separator:acad313e48d8fbaeca73fb7e5adc7856b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a7c06b85294b1bfd4f41e46389f68f4" id="r_a9a7c06b85294b1bfd4f41e46389f68f4"><td class="memItemLeft" align="right" valign="top">QAction *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9a7c06b85294b1bfd4f41e46389f68f4">addWidget</a> (QWidget *w, <a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a> rp)</td></tr>
<tr class="memdesc:a9a7c06b85294b1bfd4f41e46389f68f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加窗口  <br /></td></tr>
<tr class="separator:a9a7c06b85294b1bfd4f41e46389f68f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c81c238d10dca8c09444d7c9c1cfc28" id="r_a0c81c238d10dca8c09444d7c9c1cfc28"><td class="memItemLeft" align="right" valign="top">QAction *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0c81c238d10dca8c09444d7c9c1cfc28">addSmallWidget</a> (QWidget *w)</td></tr>
<tr class="memdesc:a0c81c238d10dca8c09444d7c9c1cfc28"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加窗口,占用ribbon的一行  <br /></td></tr>
<tr class="separator:a0c81c238d10dca8c09444d7c9c1cfc28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8e388ef3fcd22aff167a6d688861421" id="r_aa8e388ef3fcd22aff167a6d688861421"><td class="memItemLeft" align="right" valign="top">QAction *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa8e388ef3fcd22aff167a6d688861421">addMediumWidget</a> (QWidget *w)</td></tr>
<tr class="memdesc:aa8e388ef3fcd22aff167a6d688861421"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加窗口,占用ribbon的一行  <br /></td></tr>
<tr class="separator:aa8e388ef3fcd22aff167a6d688861421"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c1a0d3ae775f65cfd6d64985ab767b4" id="r_a3c1a0d3ae775f65cfd6d64985ab767b4"><td class="memItemLeft" align="right" valign="top">QAction *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3c1a0d3ae775f65cfd6d64985ab767b4">addLargeWidget</a> (QWidget *w)</td></tr>
<tr class="memdesc:a3c1a0d3ae775f65cfd6d64985ab767b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加窗口，占用所有行  <br /></td></tr>
<tr class="separator:a3c1a0d3ae775f65cfd6d64985ab767b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5fe2916c8cad58ec7c86aa2485b8fcb" id="r_ad5fe2916c8cad58ec7c86aa2485b8fcb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_gallery.html">SARibbonGallery</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad5fe2916c8cad58ec7c86aa2485b8fcb">addGallery</a> (bool expanding=true)</td></tr>
<tr class="memdesc:ad5fe2916c8cad58ec7c86aa2485b8fcb"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="#ad5fe2916c8cad58ec7c86aa2485b8fcb" title="SARibbonPannel::addGallery">SARibbonPannel::addGallery</a>  <br /></td></tr>
<tr class="separator:ad5fe2916c8cad58ec7c86aa2485b8fcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6980b068eb84b8c1c0e7a655c63f8521" id="r_a6980b068eb84b8c1c0e7a655c63f8521"><td class="memItemLeft" align="right" valign="top">QAction *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6980b068eb84b8c1c0e7a655c63f8521">addSeparator</a> ()</td></tr>
<tr class="memdesc:a6980b068eb84b8c1c0e7a655c63f8521"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加分割线  <br /></td></tr>
<tr class="separator:a6980b068eb84b8c1c0e7a655c63f8521"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae556078217c6790349eb038526ec866d" id="r_ae556078217c6790349eb038526ec866d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_tool_button.html">SARibbonToolButton</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae556078217c6790349eb038526ec866d">actionToRibbonToolButton</a> (QAction *action)</td></tr>
<tr class="memdesc:ae556078217c6790349eb038526ec866d"><td class="mdescLeft">&#160;</td><td class="mdescRight">从pannel中把action对应的button提取出来，如果action没有对应的button，就返回nullptr  <br /></td></tr>
<tr class="separator:ae556078217c6790349eb038526ec866d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5921c42fa2492ad37e9ad26e23328956" id="r_a5921c42fa2492ad37e9ad26e23328956"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5921c42fa2492ad37e9ad26e23328956">setOptionAction</a> (QAction *action)</td></tr>
<tr class="memdesc:a5921c42fa2492ad37e9ad26e23328956"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加操作action，如果要去除，传入nullptr指针即可，SARibbonPannel不会对QAction的所有权进行管理  <br /></td></tr>
<tr class="separator:a5921c42fa2492ad37e9ad26e23328956"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab31721566000ba3805b7d82f8692dd8e" id="r_ab31721566000ba3805b7d82f8692dd8e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab31721566000ba3805b7d82f8692dd8e">isHaveOptionAction</a> () const</td></tr>
<tr class="memdesc:ab31721566000ba3805b7d82f8692dd8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否存在OptionAction  <br /></td></tr>
<tr class="separator:ab31721566000ba3805b7d82f8692dd8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d08836ff40aa3a6c9e06ad0ae9d6aee" id="r_a3d08836ff40aa3a6c9e06ad0ae9d6aee"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_s_a_ribbon_tool_button.html">SARibbonToolButton</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3d08836ff40aa3a6c9e06ad0ae9d6aee">ribbonToolButtons</a> () const</td></tr>
<tr class="memdesc:a3d08836ff40aa3a6c9e06ad0ae9d6aee"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取pannel下面的所有toolbutton  <br /></td></tr>
<tr class="separator:a3d08836ff40aa3a6c9e06ad0ae9d6aee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a285735bb99625683d9e15211fd28e46a" id="r_a285735bb99625683d9e15211fd28e46a"><td class="memItemLeft" align="right" valign="top"><a id="a285735bb99625683d9e15211fd28e46a" name="a285735bb99625683d9e15211fd28e46a"></a>
<a class="el" href="#a9da35ca039ab4045209d5614e4566219">PannelLayoutMode</a>&#160;</td><td class="memItemRight" valign="bottom"><b>pannelLayoutMode</b> () const</td></tr>
<tr class="separator:a285735bb99625683d9e15211fd28e46a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b8f1090c0739277fd0bc79b1d409fa7" id="r_a2b8f1090c0739277fd0bc79b1d409fa7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2b8f1090c0739277fd0bc79b1d409fa7">setPannelLayoutMode</a> (<a class="el" href="#a9da35ca039ab4045209d5614e4566219">PannelLayoutMode</a> mode)</td></tr>
<tr class="memdesc:a2b8f1090c0739277fd0bc79b1d409fa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置PannelLayoutMode  <br /></td></tr>
<tr class="separator:a2b8f1090c0739277fd0bc79b1d409fa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af57e384453125c558b1404fe4063fd98" id="r_af57e384453125c558b1404fe4063fd98"><td class="memItemLeft" align="right" valign="top"><a id="af57e384453125c558b1404fe4063fd98" name="af57e384453125c558b1404fe4063fd98"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>resetToolButtonSize</b> ()</td></tr>
<tr class="memdesc:af57e384453125c558b1404fe4063fd98"><td class="mdescLeft">&#160;</td><td class="mdescRight">重置按钮的尺寸，在布局改变后（尤其高度变更），按钮的尺寸需要手动变更 <br /></td></tr>
<tr class="separator:af57e384453125c558b1404fe4063fd98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebcfbe35937ec865f3b247d28ef7a657" id="r_aebcfbe35937ec865f3b247d28ef7a657"><td class="memItemLeft" align="right" valign="top"><a id="aebcfbe35937ec865f3b247d28ef7a657" name="aebcfbe35937ec865f3b247d28ef7a657"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isTwoRow</b> () const</td></tr>
<tr class="separator:aebcfbe35937ec865f3b247d28ef7a657"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49f8b03841505107fbaf94f31c086485" id="r_a49f8b03841505107fbaf94f31c086485"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a49f8b03841505107fbaf94f31c086485">setExpanding</a> (bool isExpanding=true)</td></tr>
<tr class="memdesc:a49f8b03841505107fbaf94f31c086485"><td class="mdescLeft">&#160;</td><td class="mdescRight">把pannel设置为扩展模式，此时会撑大水平区域  <br /></td></tr>
<tr class="separator:a49f8b03841505107fbaf94f31c086485"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d9474184dba5e6e7676b14ff4ca4311" id="r_a9d9474184dba5e6e7676b14ff4ca4311"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9d9474184dba5e6e7676b14ff4ca4311">isExpanding</a> () const</td></tr>
<tr class="memdesc:a9d9474184dba5e6e7676b14ff4ca4311"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断此pannel是否为（水平）扩展模式  <br /></td></tr>
<tr class="separator:a9d9474184dba5e6e7676b14ff4ca4311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24c2ca1608510dbf0112f1649cd0354f" id="r_a24c2ca1608510dbf0112f1649cd0354f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a24c2ca1608510dbf0112f1649cd0354f">titleHeight</a> () const</td></tr>
<tr class="memdesc:a24c2ca1608510dbf0112f1649cd0354f"><td class="mdescLeft">&#160;</td><td class="mdescRight">标题栏高度  <br /></td></tr>
<tr class="separator:a24c2ca1608510dbf0112f1649cd0354f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8acab45ad5bec9fe0e30315d713e3458" id="r_a8acab45ad5bec9fe0e30315d713e3458"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8acab45ad5bec9fe0e30315d713e3458">isEnableShowTitle</a> () const</td></tr>
<tr class="memdesc:a8acab45ad5bec9fe0e30315d713e3458"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否显示标题，只有标题的高度被设置，才会显示标题  <br /></td></tr>
<tr class="separator:a8acab45ad5bec9fe0e30315d713e3458"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a031406b5486bc7914b857243f5132c96" id="r_a031406b5486bc7914b857243f5132c96"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a031406b5486bc7914b857243f5132c96">actionIndex</a> (QAction *act) const</td></tr>
<tr class="memdesc:a031406b5486bc7914b857243f5132c96"><td class="mdescLeft">&#160;</td><td class="mdescRight">action对应的布局index，此操作一般用于移动，其他意义不大  <br /></td></tr>
<tr class="separator:a031406b5486bc7914b857243f5132c96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec28c23e3ad3f737189ec2db307ef3d6" id="r_aec28c23e3ad3f737189ec2db307ef3d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aec28c23e3ad3f737189ec2db307ef3d6">moveAction</a> (int from, int to)</td></tr>
<tr class="memdesc:aec28c23e3ad3f737189ec2db307ef3d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动action  <br /></td></tr>
<tr class="separator:aec28c23e3ad3f737189ec2db307ef3d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa823a09d712a5bad182351e80a893070" id="r_aa823a09d712a5bad182351e80a893070"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa823a09d712a5bad182351e80a893070">isCanCustomize</a> () const</td></tr>
<tr class="memdesc:aa823a09d712a5bad182351e80a893070"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否可以自定义  <br /></td></tr>
<tr class="separator:aa823a09d712a5bad182351e80a893070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64c7b5948fb02ba90516568386fc7b30" id="r_a64c7b5948fb02ba90516568386fc7b30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a64c7b5948fb02ba90516568386fc7b30">setCanCustomize</a> (bool b)</td></tr>
<tr class="memdesc:a64c7b5948fb02ba90516568386fc7b30"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置是否可以自定义  <br /></td></tr>
<tr class="separator:a64c7b5948fb02ba90516568386fc7b30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a585f58338f44dfac63ac03d79f6db34e" id="r_a585f58338f44dfac63ac03d79f6db34e"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a585f58338f44dfac63ac03d79f6db34e">pannelName</a> () const</td></tr>
<tr class="memdesc:a585f58338f44dfac63ac03d79f6db34e"><td class="mdescLeft">&#160;</td><td class="mdescRight">pannel名称  <br /></td></tr>
<tr class="separator:a585f58338f44dfac63ac03d79f6db34e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bfbc822197667d762e02c1cd1ed6c08" id="r_a7bfbc822197667d762e02c1cd1ed6c08"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7bfbc822197667d762e02c1cd1ed6c08">setPannelName</a> (const QString &amp;title)</td></tr>
<tr class="memdesc:a7bfbc822197667d762e02c1cd1ed6c08"><td class="mdescLeft">&#160;</td><td class="mdescRight">pannel的名称  <br /></td></tr>
<tr class="separator:a7bfbc822197667d762e02c1cd1ed6c08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c60cc0e61b1e30b383dce923127309d" id="r_a4c60cc0e61b1e30b383dce923127309d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4c60cc0e61b1e30b383dce923127309d">largeButtonHeight</a> () const</td></tr>
<tr class="memdesc:a4c60cc0e61b1e30b383dce923127309d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取大图标的高度  <br /></td></tr>
<tr class="separator:a4c60cc0e61b1e30b383dce923127309d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec5bc9b74e07f76ce4cf47fc65d5ffbe" id="r_aec5bc9b74e07f76ce4cf47fc65d5ffbe"><td class="memItemLeft" align="right" valign="top">const QList&lt; <a class="el" href="class_s_a_ribbon_pannel_item.html">SARibbonPannelItem</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aec5bc9b74e07f76ce4cf47fc65d5ffbe">ribbonPannelItem</a> () const</td></tr>
<tr class="memdesc:aec5bc9b74e07f76ce4cf47fc65d5ffbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取布局item  <br /></td></tr>
<tr class="separator:aec5bc9b74e07f76ce4cf47fc65d5ffbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af669946262b7fce1a99419ad1a430b4c" id="r_af669946262b7fce1a99419ad1a430b4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_pannel_layout.html">SARibbonPannelLayout</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af669946262b7fce1a99419ad1a430b4c">pannelLayout</a> () const</td></tr>
<tr class="memdesc:af669946262b7fce1a99419ad1a430b4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取pannel layout  <br /></td></tr>
<tr class="separator:af669946262b7fce1a99419ad1a430b4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa46e4b9feb11defdf378e59d5384bbca" id="r_aa46e4b9feb11defdf378e59d5384bbca"><td class="memItemLeft" align="right" valign="top"><a id="aa46e4b9feb11defdf378e59d5384bbca" name="aa46e4b9feb11defdf378e59d5384bbca"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>updateItemGeometry</b> ()</td></tr>
<tr class="memdesc:aa46e4b9feb11defdf378e59d5384bbca"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新布局 <br /></td></tr>
<tr class="separator:aa46e4b9feb11defdf378e59d5384bbca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac413d6920760dfa95a98555372b9ee84" id="r_ac413d6920760dfa95a98555372b9ee84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac413d6920760dfa95a98555372b9ee84">category</a> () const</td></tr>
<tr class="memdesc:ac413d6920760dfa95a98555372b9ee84"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取category指针，如果没有parent，或者不在category管理，返回nullptr  <br /></td></tr>
<tr class="separator:ac413d6920760dfa95a98555372b9ee84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6da1e57c60c953e86c46698e6526a46e" id="r_a6da1e57c60c953e86c46698e6526a46e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_bar.html">SARibbonBar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6da1e57c60c953e86c46698e6526a46e">ribbonBar</a> () const</td></tr>
<tr class="memdesc:a6da1e57c60c953e86c46698e6526a46e"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取ribbonBar指针，如果没有返回nullptr  <br /></td></tr>
<tr class="separator:a6da1e57c60c953e86c46698e6526a46e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ce90ca546a2dc41658a8405b3f04c10" id="r_a4ce90ca546a2dc41658a8405b3f04c10"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4ce90ca546a2dc41658a8405b3f04c10">spacing</a> () const</td></tr>
<tr class="memdesc:a4ce90ca546a2dc41658a8405b3f04c10"><td class="mdescLeft">&#160;</td><td class="mdescRight">按钮之间的间隔  <br /></td></tr>
<tr class="separator:a4ce90ca546a2dc41658a8405b3f04c10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0257f504dafdf69a60db4b61f6e61468" id="r_a0257f504dafdf69a60db4b61f6e61468"><td class="memItemLeft" align="right" valign="top"><a id="a0257f504dafdf69a60db4b61f6e61468" name="a0257f504dafdf69a60db4b61f6e61468"></a>
virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><b>sizeHint</b> () const Q_DECL_OVERRIDE</td></tr>
<tr class="separator:a0257f504dafdf69a60db4b61f6e61468"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafc686f60955ea0355c8f012163aa596" id="r_aafc686f60955ea0355c8f012163aa596"><td class="memItemLeft" align="right" valign="top"><a id="aafc686f60955ea0355c8f012163aa596" name="aafc686f60955ea0355c8f012163aa596"></a>
virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><b>minimumSizeHint</b> () const Q_DECL_OVERRIDE</td></tr>
<tr class="separator:aafc686f60955ea0355c8f012163aa596"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bcee79745e9de024e29d9c27f82adcf" id="r_a4bcee79745e9de024e29d9c27f82adcf"><td class="memItemLeft" align="right" valign="top"><a id="a4bcee79745e9de024e29d9c27f82adcf" name="a4bcee79745e9de024e29d9c27f82adcf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setToolButtonIconSize</b> (const QSize &amp;s)</td></tr>
<tr class="separator:a4bcee79745e9de024e29d9c27f82adcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3513ff6ab2be9bb6c49da792d3360af8" id="r_a3513ff6ab2be9bb6c49da792d3360af8"><td class="memItemLeft" align="right" valign="top"><a id="a3513ff6ab2be9bb6c49da792d3360af8" name="a3513ff6ab2be9bb6c49da792d3360af8"></a>
QSize&#160;</td><td class="memItemRight" valign="bottom"><b>toolButtonIconSize</b> () const</td></tr>
<tr class="separator:a3513ff6ab2be9bb6c49da792d3360af8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a955619023011feb786bc3f2ae9242c0d" id="r_a955619023011feb786bc3f2ae9242c0d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a955619023011feb786bc3f2ae9242c0d">iterateButton</a> (FpRibbonToolButtonIterate fp) const</td></tr>
<tr class="memdesc:a955619023011feb786bc3f2ae9242c0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">遍历SARibbonPannel下的所有RibbonToolButton，执行函数指针(bool(SARibbonRibbonToolButton*))，函数指针返回false则停止迭代  <br /></td></tr>
<tr class="separator:a955619023011feb786bc3f2ae9242c0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08eed87a5a922f2d19576cc5c8ec3685" id="r_a08eed87a5a922f2d19576cc5c8ec3685"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_tool_button.html">SARibbonToolButton</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a08eed87a5a922f2d19576cc5c8ec3685">lastAddActionButton</a> ()</td></tr>
<tr class="memdesc:a08eed87a5a922f2d19576cc5c8ec3685"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取最近添加的按钮  <br /></td></tr>
<tr class="separator:a08eed87a5a922f2d19576cc5c8ec3685"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bfde555b2d02452389cc6a1b775aed8" id="r_a7bfde555b2d02452389cc6a1b775aed8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_a_ribbon_pannel_label.html">SARibbonPannelLabel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7bfde555b2d02452389cc6a1b775aed8">titleLabel</a> () const</td></tr>
<tr class="memdesc:a7bfde555b2d02452389cc6a1b775aed8"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取title对应的label控件  <br /></td></tr>
<tr class="separator:a7bfde555b2d02452389cc6a1b775aed8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a1155dce1cbb4dc30aa85d44753ad76f7" id="r_a1155dce1cbb4dc30aa85d44753ad76f7"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1155dce1cbb4dc30aa85d44753ad76f7">pannelHeightHint</a> (const QFontMetrics &amp;fm, <a class="el" href="#a9da35ca039ab4045209d5614e4566219">PannelLayoutMode</a> layMode, int pannelTitleHeight)</td></tr>
<tr class="memdesc:a1155dce1cbb4dc30aa85d44753ad76f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">pannel高度推荐  <br /></td></tr>
<tr class="separator:a1155dce1cbb4dc30aa85d44753ad76f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08ba58229b004f7249e1d5e6b2e21ff3" id="r_a08ba58229b004f7249e1d5e6b2e21ff3"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a08ba58229b004f7249e1d5e6b2e21ff3">setActionRowProportionProperty</a> (QAction *action, <a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a> rp)</td></tr>
<tr class="memdesc:a08ba58229b004f7249e1d5e6b2e21ff3"><td class="mdescLeft">&#160;</td><td class="mdescRight">把action的行属性设置进action中，action自身携带了行属性  <br /></td></tr>
<tr class="separator:a08ba58229b004f7249e1d5e6b2e21ff3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2f710ccebfd1f77699efd63a8ec2d3a" id="r_af2f710ccebfd1f77699efd63a8ec2d3a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af2f710ccebfd1f77699efd63a8ec2d3a">getActionRowProportionProperty</a> (QAction *action)</td></tr>
<tr class="memdesc:af2f710ccebfd1f77699efd63a8ec2d3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取action的行属性  <br /></td></tr>
<tr class="separator:af2f710ccebfd1f77699efd63a8ec2d3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a152253a9a8a7e6e335343230f32d9788" id="r_a152253a9a8a7e6e335343230f32d9788"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a152253a9a8a7e6e335343230f32d9788">setActionToolButtonPopupModeProperty</a> (QAction *action, QToolButton::ToolButtonPopupMode popMode)</td></tr>
<tr class="memdesc:a152253a9a8a7e6e335343230f32d9788"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置action的ToolButtonPopupMode属性  <br /></td></tr>
<tr class="separator:a152253a9a8a7e6e335343230f32d9788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a234ba5690dcafeb4b79541fa20c5ed93" id="r_a234ba5690dcafeb4b79541fa20c5ed93"><td class="memItemLeft" align="right" valign="top">static QToolButton::ToolButtonPopupMode&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a234ba5690dcafeb4b79541fa20c5ed93">getActionToolButtonPopupModeProperty</a> (QAction *action)</td></tr>
<tr class="memdesc:a234ba5690dcafeb4b79541fa20c5ed93"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取action的ToolButtonPopupMode属性  <br /></td></tr>
<tr class="separator:a234ba5690dcafeb4b79541fa20c5ed93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e5505c1172e97db7f765f364d1527f7" id="r_a2e5505c1172e97db7f765f364d1527f7"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2e5505c1172e97db7f765f364d1527f7">setActionToolButtonStyleProperty</a> (QAction *action, Qt::ToolButtonStyle buttonStyle)</td></tr>
<tr class="memdesc:a2e5505c1172e97db7f765f364d1527f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置action的ToolButtonStyle属性  <br /></td></tr>
<tr class="separator:a2e5505c1172e97db7f765f364d1527f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83eddc93f338e982d1087d0f758f513c" id="r_a83eddc93f338e982d1087d0f758f513c"><td class="memItemLeft" align="right" valign="top">static Qt::ToolButtonStyle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a83eddc93f338e982d1087d0f758f513c">getActionToolButtonStyleProperty</a> (QAction *action)</td></tr>
<tr class="memdesc:a83eddc93f338e982d1087d0f758f513c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取action的ToolButtonStyle属性  <br /></td></tr>
<tr class="separator:a83eddc93f338e982d1087d0f758f513c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a8f9efa2ae93714ceaafc4f8f8d9ba328" id="r_a8f9efa2ae93714ceaafc4f8f8d9ba328"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8f9efa2ae93714ceaafc4f8f8d9ba328">actionEvent</a> (QActionEvent *e) Q_DECL_OVERRIDE</td></tr>
<tr class="memdesc:a8f9efa2ae93714ceaafc4f8f8d9ba328"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理action的事件  <br /></td></tr>
<tr class="separator:a8f9efa2ae93714ceaafc4f8f8d9ba328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8e2c1241df3f6f3d8de3daf2d2236ad" id="r_af8e2c1241df3f6f3d8de3daf2d2236ad"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af8e2c1241df3f6f3d8de3daf2d2236ad">changeEvent</a> (QEvent *e) Q_DECL_OVERRIDE</td></tr>
<tr class="memdesc:af8e2c1241df3f6f3d8de3daf2d2236ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">追踪字体改变事件，把新字体设置到childwidget中  <br /></td></tr>
<tr class="separator:af8e2c1241df3f6f3d8de3daf2d2236ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4cc2d0886a90009bc99e6330722f924" id="r_ad4cc2d0886a90009bc99e6330722f924"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad4cc2d0886a90009bc99e6330722f924">setTitleHeight</a> (int h)</td></tr>
<tr class="memdesc:ad4cc2d0886a90009bc99e6330722f924"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置标题栏的高度  <br /></td></tr>
<tr class="separator:ad4cc2d0886a90009bc99e6330722f924"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d9ff894eac3c409ed1e5b2faa2e88e0" id="r_a3d9ff894eac3c409ed1e5b2faa2e88e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3d9ff894eac3c409ed1e5b2faa2e88e0">setSpacing</a> (int n)</td></tr>
<tr class="memdesc:a3d9ff894eac3c409ed1e5b2faa2e88e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置按钮之间的间隔  <br /></td></tr>
<tr class="separator:a3d9ff894eac3c409ed1e5b2faa2e88e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cae8ac5f136d198267f9392565a0a06" id="r_a9cae8ac5f136d198267f9392565a0a06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9cae8ac5f136d198267f9392565a0a06">setEnableShowTitle</a> (bool on)</td></tr>
<tr class="memdesc:a9cae8ac5f136d198267f9392565a0a06"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否显示标题，显示标题后，标题的高度需要设置，默认高度为15  <br /></td></tr>
<tr class="separator:a9cae8ac5f136d198267f9392565a0a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:a5589df05b7d3f60b42aca5573b4a6d4d" id="r_a5589df05b7d3f60b42aca5573b4a6d4d"><td class="memItemLeft" align="right" valign="top"><a id="a5589df05b7d3f60b42aca5573b4a6d4d" name="a5589df05b7d3f60b42aca5573b4a6d4d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isCanCustomize</b></td></tr>
<tr class="separator:a5589df05b7d3f60b42aca5573b4a6d4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1e52882307c7575f3f5cde60cb6b5d6" id="r_ad1e52882307c7575f3f5cde60cb6b5d6"><td class="memItemLeft" align="right" valign="top"><a id="ad1e52882307c7575f3f5cde60cb6b5d6" name="ad1e52882307c7575f3f5cde60cb6b5d6"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isExpanding</b></td></tr>
<tr class="separator:ad1e52882307c7575f3f5cde60cb6b5d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5873181318b78b0ffdfe53d83cd9169" id="r_aa5873181318b78b0ffdfe53d83cd9169"><td class="memItemLeft" align="right" valign="top"><a id="aa5873181318b78b0ffdfe53d83cd9169" name="aa5873181318b78b0ffdfe53d83cd9169"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>pannelName</b></td></tr>
<tr class="separator:aa5873181318b78b0ffdfe53d83cd9169"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a1fb4c4fe02f19abd32864cc35bc2417a" id="r_a1fb4c4fe02f19abd32864cc35bc2417a"><td class="memItemLeft" align="right" valign="top"><a id="a1fb4c4fe02f19abd32864cc35bc2417a" name="a1fb4c4fe02f19abd32864cc35bc2417a"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>SARibbonBar</b></td></tr>
<tr class="separator:a1fb4c4fe02f19abd32864cc35bc2417a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23e7a1c4b7109a236a90b9a6a96671ee" id="r_a23e7a1c4b7109a236a90b9a6a96671ee"><td class="memItemLeft" align="right" valign="top"><a id="a23e7a1c4b7109a236a90b9a6a96671ee" name="a23e7a1c4b7109a236a90b9a6a96671ee"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>SARibbonCategory</b></td></tr>
<tr class="separator:a23e7a1c4b7109a236a90b9a6a96671ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b9c78af62a63cda7d10266a86a98a3b" id="r_a4b9c78af62a63cda7d10266a86a98a3b"><td class="memItemLeft" align="right" valign="top"><a id="a4b9c78af62a63cda7d10266a86a98a3b" name="a4b9c78af62a63cda7d10266a86a98a3b"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>SARibbonCategoryPrivate</b></td></tr>
<tr class="separator:a4b9c78af62a63cda7d10266a86a98a3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d83e505aad8efa8bc6c4b8ce1d38d2b" id="r_a9d83e505aad8efa8bc6c4b8ce1d38d2b"><td class="memItemLeft" align="right" valign="top"><a id="a9d83e505aad8efa8bc6c4b8ce1d38d2b" name="a9d83e505aad8efa8bc6c4b8ce1d38d2b"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>SARibbonCustomizeWidgetPrivate</b></td></tr>
<tr class="separator:a9d83e505aad8efa8bc6c4b8ce1d38d2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1c2a1364f9ed84581d6e48baa9ecb09" id="r_ad1c2a1364f9ed84581d6e48baa9ecb09"><td class="memItemLeft" align="right" valign="top"><a id="ad1c2a1364f9ed84581d6e48baa9ecb09" name="ad1c2a1364f9ed84581d6e48baa9ecb09"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>SARibbonPannelLayout</b></td></tr>
<tr class="separator:ad1c2a1364f9ed84581d6e48baa9ecb09"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>pannel页窗口，pannel是ribbon的面板用于承放控件 </p>
<p>ribbon的pannel分为两行模式和三行模式，以office为代表的ribbon为3行模式，以WPS为代表的“紧凑派”就是2行模式， SARibbon可通过SARibbonBar的SARibbonBar::RibbonStyle 来指定模式(通过函数<a class="el" href="class_s_a_ribbon_bar.html#a7ee2ffcde55433d35705980030b0a38d">SARibbonBar::setRibbonStyle</a> )</p>
<p>在pannel中，可以通过<a class="el" href="#a49f8b03841505107fbaf94f31c086485">setExpanding</a> 函数指定pannel水平扩展，如果pannel里面没有能水平扩展的控件，将会留白，因此， 建议在pannel里面有水平扩展的控件如（<a class="el" href="class_s_a_ribbon_gallery.html">SARibbonGallery</a> ）才指定这个函数</p>
<p>pannel的布局通过<a class="el" href="class_s_a_ribbon_pannel_layout.html">SARibbonPannelLayout</a> 来实现，如果有其他布局，可以通过继承SARibbonElementCreateDelegate::createRibbonPannel 函数返回带有自己布局的pannel，但你必须继承对应的虚函数</p>
<p>SARibbonPannel属于SARibbonCategory的子对象，SARibbonCategory又属于SARibbonBar的对象, 单独设置一个SARibbonPannel的属性很多情况是没有意义的，例如设置pannelTitleHeight，SARibbonBar内部会维护一个统一的pannelTitleHeight， 在pannel加入SARibbonBar时，会统一设置为这个pannelTitleHeight，因此，针对一些全局性的pannel属性设置，你应该去SARibbonBar中寻找相关的函数， 这些函数如：</p><ul>
<li>pannelTitleHeight</li>
<li>isEnableShowPannelTitle</li>
<li>pannelSpacing</li>
<li>pannelToolButtonIconSize 等等 </li>
</ul>
</div><h2 class="groupheader">成员枚举类型说明</h2>
<a id="a9da35ca039ab4045209d5614e4566219" name="a9da35ca039ab4045209d5614e4566219"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9da35ca039ab4045209d5614e4566219">&#9670;&#160;</a></span>PannelLayoutMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="#a9da35ca039ab4045209d5614e4566219">SARibbonPannel::PannelLayoutMode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a9da35ca039ab4045209d5614e4566219ac4aec84893752a28762a45d151fc68db" name="a9da35ca039ab4045209d5614e4566219ac4aec84893752a28762a45d151fc68db"></a>ThreeRowMode&#160;</td><td class="fielddoc"><p>三行布局模式，office就是三行布局模式，pannel能布置3行小toolbutton，默认模式 </p>
</td></tr>
<tr><td class="fieldname"><a id="a9da35ca039ab4045209d5614e4566219a905275b34d8ceb68cdbddb2f83723854" name="a9da35ca039ab4045209d5614e4566219a905275b34d8ceb68cdbddb2f83723854"></a>TwoRowMode&#160;</td><td class="fielddoc"><p>两行布局模式，wps的后续布局模式就是两行布局模式，pannel能布置2行小toolbutton </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a8f9efa2ae93714ceaafc4f8f8d9ba328" name="a8f9efa2ae93714ceaafc4f8f8d9ba328"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f9efa2ae93714ceaafc4f8f8d9ba328">&#9670;&#160;</a></span>actionEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::actionEvent </td>
          <td>(</td>
          <td class="paramtype">QActionEvent *</td>          <td class="paramname"><span class="paramname"><em>e</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理action的事件 </p>
<p>这里处理了ActionAdded，ActionChanged，ActionRemoved三个事件</p>
<p>ActionAdded时向布局请求，添加action，布局中同时触发了<a class="el" href="class_s_a_ribbon_pannel_layout.html#aadbe60e444ab84a5a1ffc6eb36e56fd6">SARibbonPannelLayout::createItem</a> 函数 此函数用于生成窗口，例如QRibbonToolButton</p>
<p>ActionChanged时会让布局重新计算尺寸，并向category请求重新布局，有可能category的所有要重新调整尺寸</p>
<p>ActionRemoved会移除布局管理的QLayoutItem，并进行内存清理，这时窗口也会隐藏，同时销毁</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>所有action事件都会向category请求重新布局 </dd></dl>

</div>
</div>
<a id="a031406b5486bc7914b857243f5132c96" name="a031406b5486bc7914b857243f5132c96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a031406b5486bc7914b857243f5132c96">&#9670;&#160;</a></span>actionIndex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonPannel::actionIndex </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>act</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>action对应的布局index，此操作一般用于移动，其他意义不大 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">act</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>没有查到返回-1 </dd></dl>

</div>
</div>
<a id="ae556078217c6790349eb038526ec866d" name="ae556078217c6790349eb038526ec866d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae556078217c6790349eb038526ec866d">&#9670;&#160;</a></span>actionToRibbonToolButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_tool_button.html">SARibbonToolButton</a> * SARibbonPannel::actionToRibbonToolButton </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从pannel中把action对应的button提取出来，如果action没有对应的button，就返回nullptr </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果action没有对应的button，就返回nullptr </dd></dl>

</div>
</div>
<a id="ab333a3cafcae36c6ba6fe66871e2e652" name="ab333a3cafcae36c6ba6fe66871e2e652"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab333a3cafcae36c6ba6fe66871e2e652">&#9670;&#160;</a></span>actionTriggered</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::actionTriggered </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>等同于QToolBar::actionTriggered </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3aaab3c49386dccd8ab93a155734fab9" name="a3aaab3c49386dccd8ab93a155734fab9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3aaab3c49386dccd8ab93a155734fab9">&#9670;&#160;</a></span>addAction() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QAction * SARibbonPannel::addAction </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;</td>          <td class="paramname"><span class="paramname"><em>text</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QIcon &amp;</td>          <td class="paramname"><span class="paramname"><em>icon</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QToolButton::ToolButtonPopupMode</td>          <td class="paramname"><span class="paramname"><em>popMode</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a></td>          <td class="paramname"><span class="paramname"><em>rp</em><span class="paramdefsep"> = </span><span class="paramdefval"><a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926a51c698e60b498f57ac2620a2560066db">SARibbonPannelItem::Large</a></span></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>生成并添加一个action </p>
<p>如果不对此action做操作，SARibbonPannel将管理此action</p>
<dl class="section note"><dt>注解</dt><dd>action的父对象将设置为SARibbonPannel，SARibbonPannel在删除时将会删除子对象，会把这个action也删除， 如果不想此action也删除，需要对action重新设置父对象</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>action的文字 </td></tr>
    <tr><td class="paramname">icon</td><td>action的图标 </td></tr>
    <tr><td class="paramname">popMode</td><td>按钮的样式 </td></tr>
    <tr><td class="paramname">rp</td><td>action在pannel中的占位情况，默认是大图标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回添加的action </dd></dl>

</div>
</div>
<a id="ac33b37aa9d9719df9b470345a9602deb" name="ac33b37aa9d9719df9b470345a9602deb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac33b37aa9d9719df9b470345a9602deb">&#9670;&#160;</a></span>addAction() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::addAction </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>act</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QToolButton::ToolButtonPopupMode</td>          <td class="paramname"><span class="paramname"><em>popMode</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a></td>          <td class="paramname"><span class="paramname"><em>rp</em><span class="paramdefsep"> = </span><span class="paramdefval"><a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926a51c698e60b498f57ac2620a2560066db">SARibbonPannelItem::Large</a></span></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加一个action </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">act</td><td></td></tr>
    <tr><td class="paramname">popMode</td><td>按钮的样式 </td></tr>
    <tr><td class="paramname">rp</td><td>action在pannel中的占位情况，默认是大图标 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac9843072b680fbb1d70efcef3aa23dc4" name="ac9843072b680fbb1d70efcef3aa23dc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9843072b680fbb1d70efcef3aa23dc4">&#9670;&#160;</a></span>addAction() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::addAction </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a></td>          <td class="paramname"><span class="paramname"><em>rp</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加action </p>
<p>action实际对应了一个toolbutton，如果想找到对应的toolbutton，使用<a class="el" href="#ae556078217c6790349eb038526ec866d">actionToRibbonToolButton</a> </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
    <tr><td class="paramname">rp</td><td>指定action的行占比 </td></tr>
    <tr><td class="paramname">popMode</td><td>菜单弹出样式 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad5fe2916c8cad58ec7c86aa2485b8fcb" name="ad5fe2916c8cad58ec7c86aa2485b8fcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5fe2916c8cad58ec7c86aa2485b8fcb">&#9670;&#160;</a></span>addGallery()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_gallery.html">SARibbonGallery</a> * SARibbonPannel::addGallery </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>expanding</em><span class="paramdefsep"> = </span><span class="paramdefval">true</span></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="#ad5fe2916c8cad58ec7c86aa2485b8fcb" title="SARibbonPannel::addGallery">SARibbonPannel::addGallery</a> </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>
<dl class="section note"><dt>注解</dt><dd>SARibbonPannel将拥有SARibbonGallery的管理权 </dd></dl>

</div>
</div>
<a id="aea8d760554e388afd905ea7c56c44430" name="aea8d760554e388afd905ea7c56c44430"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea8d760554e388afd905ea7c56c44430">&#9670;&#160;</a></span>addLargeAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::addLargeAction </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加大图标 </p>
<p>action实际对应了一个toolbutton，如果想找到对应的toolbutton，使用<a class="el" href="#ae556078217c6790349eb038526ec866d">actionToRibbonToolButton</a> </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3c1a0d3ae775f65cfd6d64985ab767b4" name="a3c1a0d3ae775f65cfd6d64985ab767b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c1a0d3ae775f65cfd6d64985ab767b4">&#9670;&#160;</a></span>addLargeWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QAction * SARibbonPannel::addLargeWidget </td>
          <td>(</td>
          <td class="paramtype">QWidget *</td>          <td class="paramname"><span class="paramname"><em>w</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加窗口，占用所有行 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">w</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回action(QWidgetAction) </dd></dl>

</div>
</div>
<a id="a3f5133bdcd6c8aa2bff0615246edcaf2" name="a3f5133bdcd6c8aa2bff0615246edcaf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f5133bdcd6c8aa2bff0615246edcaf2">&#9670;&#160;</a></span>addMediumAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::addMediumAction </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>在三栏模式下，强制加为2栏action </p>
<dl class="section note"><dt>注解</dt><dd>在两行模式下，Medium和Small等价 主要应用在ThreeRowMode下</dd></dl>
<p>action实际对应了一个toolbutton，如果想找到对应的toolbutton，使用<a class="el" href="#ae556078217c6790349eb038526ec866d">actionToRibbonToolButton</a> </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa8e388ef3fcd22aff167a6d688861421" name="aa8e388ef3fcd22aff167a6d688861421"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8e388ef3fcd22aff167a6d688861421">&#9670;&#160;</a></span>addMediumWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QAction * SARibbonPannel::addMediumWidget </td>
          <td>(</td>
          <td class="paramtype">QWidget *</td>          <td class="paramname"><span class="paramname"><em>w</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加窗口,占用ribbon的一行 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">w</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a4c8f61c84237ae1ce5aa09f8e44076e9" name="a4c8f61c84237ae1ce5aa09f8e44076e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c8f61c84237ae1ce5aa09f8e44076e9">&#9670;&#160;</a></span>addMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::addMenu </td>
          <td>(</td>
          <td class="paramtype">QMenu *</td>          <td class="paramname"><span class="paramname"><em>menu</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a></td>          <td class="paramname"><span class="paramname"><em>rp</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QToolButton::ToolButtonPopupMode</td>          <td class="paramname"><span class="paramname"><em>popMode</em><span class="paramdefsep"> = </span><span class="paramdefval">QToolButton::InstantPopup</span></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加一个普通菜单 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">menu</td><td></td></tr>
    <tr><td class="paramname">rp</td><td></td></tr>
    <tr><td class="paramname">popMode,菜单弹出模式，默认InstantPopup模式</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a6980b068eb84b8c1c0e7a655c63f8521" name="a6980b068eb84b8c1c0e7a655c63f8521"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6980b068eb84b8c1c0e7a655c63f8521">&#9670;&#160;</a></span>addSeparator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QAction * SARibbonPannel::addSeparator </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加分割线 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">top</td><td>上边距 @default 6 </td></tr>
    <tr><td class="paramname">bottom</td><td>下边距 @default 6 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a009dfafbf68c8cb7bc0e0357af94997d" name="a009dfafbf68c8cb7bc0e0357af94997d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a009dfafbf68c8cb7bc0e0357af94997d">&#9670;&#160;</a></span>addSmallAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::addSmallAction </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加小图标 </p>
<p>action实际对应了一个toolbutton，如果想找到对应的toolbutton，使用<a class="el" href="#ae556078217c6790349eb038526ec866d">actionToRibbonToolButton</a> </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0c81c238d10dca8c09444d7c9c1cfc28" name="a0c81c238d10dca8c09444d7c9c1cfc28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c81c238d10dca8c09444d7c9c1cfc28">&#9670;&#160;</a></span>addSmallWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QAction * SARibbonPannel::addSmallWidget </td>
          <td>(</td>
          <td class="paramtype">QWidget *</td>          <td class="paramname"><span class="paramname"><em>w</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加窗口,占用ribbon的一行 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">w</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回action(QWidgetAction) </dd></dl>

</div>
</div>
<a id="a9a7c06b85294b1bfd4f41e46389f68f4" name="a9a7c06b85294b1bfd4f41e46389f68f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a7c06b85294b1bfd4f41e46389f68f4">&#9670;&#160;</a></span>addWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QAction * SARibbonPannel::addWidget </td>
          <td>(</td>
          <td class="paramtype">QWidget *</td>          <td class="paramname"><span class="paramname"><em>w</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a></td>          <td class="paramname"><span class="paramname"><em>rp</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加窗口 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">w</td><td></td></tr>
    <tr><td class="paramname">rp</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回action(QWidgetAction) </dd></dl>
<dl class="section note"><dt>注解</dt><dd>SARibbonPannel并不会管理此窗口内存，在delete SARibbonPannel时，此窗口如果父对象不是SARibbonPannel将不会被删除 </dd></dl>

</div>
</div>
<a id="ac413d6920760dfa95a98555372b9ee84" name="ac413d6920760dfa95a98555372b9ee84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac413d6920760dfa95a98555372b9ee84">&#9670;&#160;</a></span>category()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a> * SARibbonPannel::category </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取category指针，如果没有parent，或者不在category管理，返回nullptr </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="af8e2c1241df3f6f3d8de3daf2d2236ad" name="af8e2c1241df3f6f3d8de3daf2d2236ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8e2c1241df3f6f3d8de3daf2d2236ad">&#9670;&#160;</a></span>changeEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::changeEvent </td>
          <td>(</td>
          <td class="paramtype">QEvent *</td>          <td class="paramname"><span class="paramname"><em>e</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>追踪字体改变事件，把新字体设置到childwidget中 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af2f710ccebfd1f77699efd63a8ec2d3a" name="af2f710ccebfd1f77699efd63a8ec2d3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2f710ccebfd1f77699efd63a8ec2d3a">&#9670;&#160;</a></span>getActionRowProportionProperty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a> SARibbonPannel::getActionRowProportionProperty </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取action的行属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a234ba5690dcafeb4b79541fa20c5ed93" name="a234ba5690dcafeb4b79541fa20c5ed93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a234ba5690dcafeb4b79541fa20c5ed93">&#9670;&#160;</a></span>getActionToolButtonPopupModeProperty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QToolButton::ToolButtonPopupMode SARibbonPannel::getActionToolButtonPopupModeProperty </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取action的ToolButtonPopupMode属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a83eddc93f338e982d1087d0f758f513c" name="a83eddc93f338e982d1087d0f758f513c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83eddc93f338e982d1087d0f758f513c">&#9670;&#160;</a></span>getActionToolButtonStyleProperty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Qt::ToolButtonStyle SARibbonPannel::getActionToolButtonStyleProperty </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取action的ToolButtonStyle属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="aa823a09d712a5bad182351e80a893070" name="aa823a09d712a5bad182351e80a893070"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa823a09d712a5bad182351e80a893070">&#9670;&#160;</a></span>isCanCustomize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SARibbonPannel::isCanCustomize </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断是否可以自定义 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a8acab45ad5bec9fe0e30315d713e3458" name="a8acab45ad5bec9fe0e30315d713e3458"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8acab45ad5bec9fe0e30315d713e3458">&#9670;&#160;</a></span>isEnableShowTitle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SARibbonPannel::isEnableShowTitle </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断是否显示标题，只有标题的高度被设置，才会显示标题 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a9d9474184dba5e6e7676b14ff4ca4311" name="a9d9474184dba5e6e7676b14ff4ca4311"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d9474184dba5e6e7676b14ff4ca4311">&#9670;&#160;</a></span>isExpanding()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SARibbonPannel::isExpanding </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断此pannel是否为（水平）扩展模式 </p>
<dl class="section return"><dt>返回</dt><dd>是扩展模式返回true </dd></dl>

</div>
</div>
<a id="ab31721566000ba3805b7d82f8692dd8e" name="ab31721566000ba3805b7d82f8692dd8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab31721566000ba3805b7d82f8692dd8e">&#9670;&#160;</a></span>isHaveOptionAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SARibbonPannel::isHaveOptionAction </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断是否存在OptionAction </p>
<dl class="section return"><dt>返回</dt><dd>存在返回true </dd></dl>

</div>
</div>
<a id="a955619023011feb786bc3f2ae9242c0d" name="a955619023011feb786bc3f2ae9242c0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a955619023011feb786bc3f2ae9242c0d">&#9670;&#160;</a></span>iterateButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SARibbonPannel::iterateButton </td>
          <td>(</td>
          <td class="paramtype">SARibbonPannel::FpRibbonToolButtonIterate</td>          <td class="paramname"><span class="paramname"><em>fp</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>遍历SARibbonPannel下的所有RibbonToolButton，执行函数指针(bool(SARibbonRibbonToolButton*))，函数指针返回false则停止迭代 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fp</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回false说明迭代中途退出，返回true则表示迭代完全 </dd></dl>

</div>
</div>
<a id="a4c60cc0e61b1e30b383dce923127309d" name="a4c60cc0e61b1e30b383dce923127309d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c60cc0e61b1e30b383dce923127309d">&#9670;&#160;</a></span>largeButtonHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonPannel::largeButtonHeight </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取大图标的高度 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a08eed87a5a922f2d19576cc5c8ec3685" name="a08eed87a5a922f2d19576cc5c8ec3685"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08eed87a5a922f2d19576cc5c8ec3685">&#9670;&#160;</a></span>lastAddActionButton()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_tool_button.html">SARibbonToolButton</a> * SARibbonPannel::lastAddActionButton </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取最近添加的按钮 </p>
<dl class="section return"><dt>返回</dt><dd>刚才添加的按钮的指针 </dd></dl>

</div>
</div>
<a id="aec28c23e3ad3f737189ec2db307ef3d6" name="aec28c23e3ad3f737189ec2db307ef3d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec28c23e3ad3f737189ec2db307ef3d6">&#9670;&#160;</a></span>moveAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::moveAction </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>from</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>to</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>移动action </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">from</td><td>要移动action的位置，通过<a class="el" href="#a031406b5486bc7914b857243f5132c96">actionIndex</a> 获取 </td></tr>
    <tr><td class="paramname">to</td><td>要移动的位置 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1155dce1cbb4dc30aa85d44753ad76f7" name="a1155dce1cbb4dc30aa85d44753ad76f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1155dce1cbb4dc30aa85d44753ad76f7">&#9670;&#160;</a></span>pannelHeightHint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonPannel::pannelHeightHint </td>
          <td>(</td>
          <td class="paramtype">const QFontMetrics &amp;</td>          <td class="paramname"><span class="paramname"><em>fm</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="#a9da35ca039ab4045209d5614e4566219">PannelLayoutMode</a></td>          <td class="paramname"><span class="paramname"><em>layMode</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>pannelTitleHeight</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>pannel高度推荐 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fm</td><td></td></tr>
    <tr><td class="paramname">layMode</td><td></td></tr>
    <tr><td class="paramname">pannelTitleHeight</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="af669946262b7fce1a99419ad1a430b4c" name="af669946262b7fce1a99419ad1a430b4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af669946262b7fce1a99419ad1a430b4c">&#9670;&#160;</a></span>pannelLayout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_pannel_layout.html">SARibbonPannelLayout</a> * SARibbonPannel::pannelLayout </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取pannel layout </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a585f58338f44dfac63ac03d79f6db34e" name="a585f58338f44dfac63ac03d79f6db34e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a585f58338f44dfac63ac03d79f6db34e">&#9670;&#160;</a></span>pannelName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString SARibbonPannel::pannelName </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pannel名称 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a649d1ee1cd8a6ab9ae70c559a6f6e571" name="a649d1ee1cd8a6ab9ae70c559a6f6e571"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a649d1ee1cd8a6ab9ae70c559a6f6e571">&#9670;&#160;</a></span>pannelNameChanged</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::pannelNameChanged </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;</td>          <td class="paramname"><span class="paramname"><em>n</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>pannel的标题发生了改变 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6da1e57c60c953e86c46698e6526a46e" name="a6da1e57c60c953e86c46698e6526a46e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6da1e57c60c953e86c46698e6526a46e">&#9670;&#160;</a></span>ribbonBar()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_bar.html">SARibbonBar</a> * SARibbonPannel::ribbonBar </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取ribbonBar指针，如果没有返回nullptr </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="aec5bc9b74e07f76ce4cf47fc65d5ffbe" name="aec5bc9b74e07f76ce4cf47fc65d5ffbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec5bc9b74e07f76ce4cf47fc65d5ffbe">&#9670;&#160;</a></span>ribbonPannelItem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QList&lt; <a class="el" href="class_s_a_ribbon_pannel_item.html">SARibbonPannelItem</a> * &gt; &amp; SARibbonPannel::ribbonPannelItem </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取布局item </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a3d08836ff40aa3a6c9e06ad0ae9d6aee" name="a3d08836ff40aa3a6c9e06ad0ae9d6aee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d08836ff40aa3a6c9e06ad0ae9d6aee">&#9670;&#160;</a></span>ribbonToolButtons()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; <a class="el" href="class_s_a_ribbon_tool_button.html">SARibbonToolButton</a> * &gt; SARibbonPannel::ribbonToolButtons </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取pannel下面的所有toolbutton </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a08ba58229b004f7249e1d5e6b2e21ff3" name="a08ba58229b004f7249e1d5e6b2e21ff3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08ba58229b004f7249e1d5e6b2e21ff3">&#9670;&#160;</a></span>setActionRowProportionProperty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setActionRowProportionProperty </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_a_ribbon_pannel_item.html#af4282b5e09c0b7ad37f1cc555a763926">SARibbonPannelItem::RowProportion</a></td>          <td class="paramname"><span class="paramname"><em>rp</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>把action的行属性设置进action中，action自身携带了行属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
    <tr><td class="paramname">rp</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a152253a9a8a7e6e335343230f32d9788" name="a152253a9a8a7e6e335343230f32d9788"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a152253a9a8a7e6e335343230f32d9788">&#9670;&#160;</a></span>setActionToolButtonPopupModeProperty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setActionToolButtonPopupModeProperty </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QToolButton::ToolButtonPopupMode</td>          <td class="paramname"><span class="paramname"><em>popMode</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置action的ToolButtonPopupMode属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
    <tr><td class="paramname">popMode</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2e5505c1172e97db7f765f364d1527f7" name="a2e5505c1172e97db7f765f364d1527f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e5505c1172e97db7f765f364d1527f7">&#9670;&#160;</a></span>setActionToolButtonStyleProperty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setActionToolButtonStyleProperty </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em>, </span></td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::ToolButtonStyle</td>          <td class="paramname"><span class="paramname"><em>buttonStyle</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置action的ToolButtonStyle属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
    <tr><td class="paramname">buttonStyle</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a64c7b5948fb02ba90516568386fc7b30" name="a64c7b5948fb02ba90516568386fc7b30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64c7b5948fb02ba90516568386fc7b30">&#9670;&#160;</a></span>setCanCustomize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setCanCustomize </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>b</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置是否可以自定义 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9cae8ac5f136d198267f9392565a0a06" name="a9cae8ac5f136d198267f9392565a0a06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cae8ac5f136d198267f9392565a0a06">&#9670;&#160;</a></span>setEnableShowTitle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setEnableShowTitle </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>on</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>是否显示标题，显示标题后，标题的高度需要设置，默认高度为15 </p>
<p>为了避免用户误操作，这个函数为protected，如果你要设置pannel题栏是否显示，你应该调用<a class="el" href="class_s_a_ribbon_bar.html#ac3e5c4fe36bd532cc800cd1fee2a3795">SARibbonBar::setEnableShowPannelTitle</a></p>
<dl class="section see"><dt>参见</dt><dd><a class="el" href="class_s_a_ribbon_bar.html#ac3e5c4fe36bd532cc800cd1fee2a3795" title="设置显示pannel标题">SARibbonBar::setEnableShowPannelTitle</a> </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">on</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a49f8b03841505107fbaf94f31c086485" name="a49f8b03841505107fbaf94f31c086485"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49f8b03841505107fbaf94f31c086485">&#9670;&#160;</a></span>setExpanding()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setExpanding </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>isExpanding</em><span class="paramdefsep"> = </span><span class="paramdefval">true</span></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>把pannel设置为扩展模式，此时会撑大水平区域 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">isExpanding</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5921c42fa2492ad37e9ad26e23328956" name="a5921c42fa2492ad37e9ad26e23328956"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5921c42fa2492ad37e9ad26e23328956">&#9670;&#160;</a></span>setOptionAction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setOptionAction </td>
          <td>(</td>
          <td class="paramtype">QAction *</td>          <td class="paramname"><span class="paramname"><em>action</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>添加操作action，如果要去除，传入nullptr指针即可，SARibbonPannel不会对QAction的所有权进行管理 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">action</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>要去除OptionAction直接传入nullptr即可 </dd>
<dd>
SARibbonPannel不对QAction的destroy进行关联，如果外部对action进行delete，需要先传入nullptr给addOptionAction </dd></dl>

</div>
</div>
<a id="a2b8f1090c0739277fd0bc79b1d409fa7" name="a2b8f1090c0739277fd0bc79b1d409fa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b8f1090c0739277fd0bc79b1d409fa7">&#9670;&#160;</a></span>setPannelLayoutMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setPannelLayoutMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="#a9da35ca039ab4045209d5614e4566219">SARibbonPannel::PannelLayoutMode</a></td>          <td class="paramname"><span class="paramname"><em>mode</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置PannelLayoutMode </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7bfbc822197667d762e02c1cd1ed6c08" name="a7bfbc822197667d762e02c1cd1ed6c08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bfbc822197667d762e02c1cd1ed6c08">&#9670;&#160;</a></span>setPannelName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setPannelName </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;</td>          <td class="paramname"><span class="paramname"><em>title</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pannel的名称 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>标题 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>此函数会触发</dd></dl>
<dl class="section see"><dt>参见</dt><dd><a class="el" href="#a649d1ee1cd8a6ab9ae70c559a6f6e571" title="pannel的标题发生了改变">pannelNameChanged</a> 信号 </dd></dl>

</div>
</div>
<a id="a3d9ff894eac3c409ed1e5b2faa2e88e0" name="a3d9ff894eac3c409ed1e5b2faa2e88e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d9ff894eac3c409ed1e5b2faa2e88e0">&#9670;&#160;</a></span>setSpacing()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setSpacing </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>n</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置按钮之间的间隔 </p>
<p>为了避免用户误操作，这个函数为protected，如果你要设置pannel按钮之间的间隔，你应该调用<a class="el" href="class_s_a_ribbon_bar.html#ad41375cc92b0cbda7030174156c870e3">SARibbonBar::setPannelSpacing</a> </p><dl class="section see"><dt>参见</dt><dd><a class="el" href="class_s_a_ribbon_bar.html#ad41375cc92b0cbda7030174156c870e3" title="设置pannel的spacing">SARibbonBar::setPannelSpacing</a></dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad4cc2d0886a90009bc99e6330722f924" name="ad4cc2d0886a90009bc99e6330722f924"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4cc2d0886a90009bc99e6330722f924">&#9670;&#160;</a></span>setTitleHeight()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SARibbonPannel::setTitleHeight </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>h</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置标题栏的高度 </p>
<p>为了避免用户误操作，这个函数为protect，如果你要设置pannel的标题栏高度，你应该调用<a class="el" href="class_s_a_ribbon_bar.html#a9ad24d5ae10d03680670d431b2d1c115">SARibbonBar::setPannelTitleHeight</a> </p><dl class="section see"><dt>参见</dt><dd><a class="el" href="class_s_a_ribbon_bar.html#a9ad24d5ae10d03680670d431b2d1c115" title="设置pannel的高度">SARibbonBar::setPannelTitleHeight</a></dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">h</td><td>高度 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4ce90ca546a2dc41658a8405b3f04c10" name="a4ce90ca546a2dc41658a8405b3f04c10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ce90ca546a2dc41658a8405b3f04c10">&#9670;&#160;</a></span>spacing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonPannel::spacing </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>按钮之间的间隔 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a24c2ca1608510dbf0112f1649cd0354f" name="a24c2ca1608510dbf0112f1649cd0354f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24c2ca1608510dbf0112f1649cd0354f">&#9670;&#160;</a></span>titleHeight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SARibbonPannel::titleHeight </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>标题栏高度 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a7bfde555b2d02452389cc6a1b775aed8" name="a7bfde555b2d02452389cc6a1b775aed8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bfde555b2d02452389cc6a1b775aed8">&#9670;&#160;</a></span>titleLabel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_a_ribbon_pannel_label.html">SARibbonPannelLabel</a> * SARibbonPannel::titleLabel </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取title对应的label控件 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/src/Qt/SARibbon/src/SARibbonBar/<a class="el" href="_s_a_ribbon_pannel_8h_source.html">SARibbonPannel.h</a></li>
<li>C:/src/Qt/SARibbon/src/SARibbonBar/<b>SARibbonPannel.cpp</b></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_s_a_ribbon_pannel.html">SARibbonPannel</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
